package com.endpoint.member.to;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @Project: endpoint
 * @Name: MemberBookShelfDto
 * @Author: Jack_Li
 * @Date: 2024/7/8 16:42
 */
@Data
public class MemberBookshelfDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;
    //小说ID
    private Long bookId;
    //分类名
    private String catName;
    //分类ID
    private Integer catId;
    //小说名
    private String bookName;
    //最新目录ID
    private Long lastIndexId;
    //最新目录名
    private String lastIndexName;
    //最新目录更新时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastIndexUpdateTime;
    //上一次阅读的章节内容表ID
    private Long preIndexId;
}
